const http = uni.$u.http;

// 登录注册
export const mobileLogin = (params = {}) => http.post("/xcxLogin", params);

export const scParams = () => http.get("/xjxt/sctl/getParams");
export const wpParams = () => http.get("/xjxt/wptl/getParams");

export const scAdd = (params = {}) => http.post("/xjxt/quotation/sc/add", params);
export const wpAdd = (params = {}) => http.post("/xjxt/quotation/wp/add", params);

export const list = (params = {}) => http.get("/xjxt/quotation/page", params);
export const detail = (e) => http.get("/xjxt/quotation/"+e+"/wx");